package models.quiz
{
	import com.pamakids.utils.CloneUtil;

	/**
	 * 选择
	 *
	 * */
	public class ChoiceQuizVO extends QuizVO
	{
		public function ChoiceQuizVO()
		{
			type=1;
		}

		public static function clone(obj:Object):ChoiceQuizVO
		{
			var vo:ChoiceQuizVO = new ChoiceQuizVO();
			vo.stem = CloneUtil.convertObject(obj.stem,StemVO);
			vo.options=obj.options.map(function(item:*, index:int, array:Array):OptionVO{
				return CloneUtil.convertObject(item,OptionVO);
			});
			vo.snd=obj.snd;
			vo.rightSnd=obj.rightSnd;
			vo.wrongSndArr=obj.wrongSndArr;
			vo.animes = obj.animes;

			return vo;
		}

		public var options:Array;
		public var stem:StemVO;
		public var animes:Array;//[{key:xx.json,x:x,y:y,scale:scale,rotation:rotation},{}]

	}
}

